#!/bin/bash

email=244710516@qq.com
pwd=qwertyuiop1234

sudo git config --global user.name "${email}"
sudo git config --global user.password "${pwd}"
sudo git config --global user.email "${email}"
sudo git config --global credential.helper store

ssh-keygen -t rsa -C "${email}"

cat ~/.ssh/id_rsa.pub